package com.yj.daily.spring;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;

import javax.annotation.Resource;

@PropertySource("application.properties")
public class Demo01 {

    @Value("${test.hello:yijian}")
    private String test;


}
